package com.itheima.mapper;

import com.itheima.pojo.Menu;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    User findByUsername(@Param("username")String username);
    List<Menu> getMenu(@Param("username")String username);
    //根据用户名修改密码
    void chengedByUsername(@Param("username")String username, @Param("password")String password);
}
